
using UnityEngine;

//回旋鸟
public class SlalomBird : Bird {
    protected override void FlytingSkill()
    {
        Vector2 velocity = rb.velocity;
        velocity.x = -velocity.x;
        rb.velocity = velocity;

        Vector3 scale = transform.localScale;
        scale.x = -scale.x;
        transform.localScale = scale;
    }
}